Apparatus for locating an aerosol generation device

ABSTRACT

A system is disclosed comprising a smartphone  2  and an aerosol generation device, such as an electronic cigarette. The smartphone  2  is configured to establish a communicative interaction with the electronic cigarette  4 , preferably using a wireless protocol like Bluetooth® so that the devices can exchange data. The smartphone  2  comprises a positioning module, such as a GPS receiver  26 , and is adapted to store a position in a data storage unit  28  each time a communicative interaction is established. In this way, the user can retrieve the last stored position from the data storage unit  28  and display it on a map on the smartphone display screen  22  so that they can be assisted in locating the electronic cigarette  4.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No.PCT/EP2018/085644 filed Dec. 18, 2018, published on Jun. 27, 2019, whichclaims priority from European Patent Application No. 17208194.5 filedDec. 18, 2017, all of which are incorporated herein by reference.

The present invention relates to an apparatus and method for improvingthe ease with which a user can locate an aerosol generation device, suchas an electronic cigarette.

Electronic cigarettes and other aerosol generation devices are becomingincreasingly popular among consumers. Unlike conventional cigarettes,which are consumed, an electronic cigarette is intended to be re-filledand used many times. Electronic cigarettes have a high unit cost, incomparison to conventional cigarettes, and therefore more care isrequired by users to ensure that they do not become lost.

An object of the present invention is to assist a user in locating anaerosol generation device, such as an electronic cigarette.

According to an aspect of the invention there is provided a systemcomprising: a positioning module arranged on a user electronic device; acommunication interface to provide a communicative interaction with anaerosol generation device; and a data storage module, wherein the datastorage module is configured to store a position determined by thepositioning module, and wherein the stored position is associated withthe communicative interaction with the aerosol generation device,wherein the position may be stored based on a trigger, which maycomprise one or more of the following: upon establishing or during acommunicative interaction with the aerosol generation device; andfollowing termination of a communicative interaction with the aerosolgeneration device.

In this way, the system can assist a user in locating the aerosolgeneration device. This can be done in a cost effective way since theneed for a further positioning module on the aerosol generation deviceis obviated. When the aerosol generation device cannot be located easilythe stored position can be retrieved from the data storage module. Thestored position may be indicative of an assumed position of the aerosolgeneration device, based on the position of the electronic user deviceduring or shortly after the communicative interaction.

In addition, the system can determine whether a trigger event hasoccurred, and only store the position once this condition has beensatisfied. In one example the trigger may be the aerosol generationdevice transitioning into an inactive mode such as a standby mode. Aninactive mode may be determined after a period of inactivity has elapsedor after the aerosol generation device has been placed in an inoperativeconfiguration. One example of an inoperative configuration may be wherethe mouthpiece has been retracted into the device body, which can beconsidered as a last puff of the device before the device enters theinactive mode.

The data storage module may be provided in the electronic user device.In an alternative the data storage module may be provided remotely, forexample in a server, which can be accessed by the electronic user devicewhen required.

The stored position may be associated with a most recent communicativeinteraction with the aerosol generation device. The stored position maybe the “last known position” of the aerosol generation device. Inreality the stored position may be a rough approximation of the positionof the aerosol generation device when it was last in communication withthe connection interface, and this information may be useful for theuser in locating the aerosol generation device.

In an alternative arrangement the stored position may be the most commonposition associated with communicative interactions with the aerosolgeneration device. It may also be possible to store an average positionassociated with communicative interactions with the aerosol generationdevice.

Preferably the electronic user device comprises a display configured toindicate the stored position. In this way the stored position can beretrieved from memory and indicated to the user on a display.

The display may be configured to indicate the stored position on a map.In one arrangement the display may be configured to indicate the currentposition of the user, as determined by the positioning module, as wellas the stored position. In this way, the user can be assisted in findingthe aerosol generation device, based on its last known position. Theelectronic user device preferably comprises a processor that generatesthe instructions for an indication to be displayed on the map, where theindication is indicative of the stored position.

The indication of the stored position on the map may be changed whencommunicative interaction is established with the aerosol generationdevice. In one arrangement the indication on the map may becomeselectable by a user on the display.

A notification may be provided by the electronic user device when acommunicative interaction is established with the aerosol generationdevice. The notification may include one or more of the following:haptic feedback; audible feedback; and visual feedback, including on thedisplay. In one arrangement an icon associated with the aerosolgeneration device (e.g. the indication on the map) may become selectablewhen communicative interaction is established. The icon may providefeedback to the user indicating that communicative interaction has beenestablished, e.g. by one or more of a change in size, shape or colour.In this way a user may firstly coarsely locate the aerosol generationdevice by moving to the stored position before any connection has beenestablished. Subsequently, when the position of the user is close enoughto the aerosol generation device, the user may be notified of theestablishment of a connection between the electronic user device andaerosol generation device, so that they can more precisely locate theaerosol generation device.

The data storage module may be configured to store a position determinedby the positioning module based on data received from the aerosolgeneration device in the communicative interaction. Thus, the receipt ofdata, or at least a certain type or pattern of data, from the aerosolgeneration device may be processed as an instruction for the electronicuser device to store a position in the data storage module. In oneexample, the determination of a vape through the aerosol generationdevice (including termination or initiation of a vape) may trigger theelectronic user device to store a position. Vaping may be determined bya flow sensor, a vaping button or other means. This may be helpful inprompting data exchange between the aerosol generation device and theuser device, and a position may be determined on each or a predeterminednumber of occasions. This can allow the stored position to be updated,and the latest stored position may represent an assumed position of theaerosol generation device.

Preferably the position associated with the aerosol generation device isstored along with identifying information for the aerosol generationdevice. For example, the position may be stored along with the modeland/or serial number of the aerosol generation device. This can allow auser to distinguish devices, in case they own several.

Preferably the positioning module includes a Global Navigation SatelliteSystem (GNSS) receiver. Alternatively, or in addition, the positioningmodule may include an inertial sensor, or a receiver for determiningposition using Wi-Fi or telecommunications signals.

The communication interface may be arranged to establish communicativeinteraction between the electronic user device and the aerosolgeneration device using a wireless protocol such as Bluetooth or Wi-Fi.A wired connection may also be established between the electronic userdevice and the aerosol generation device. As used herein “communicativeinteraction” may refer to: information transfer between devices;pairing; authentication; establishing of a data session or dialogue; ortermination of a connection.

The system may further comprise an aerosol generation device. In oneembodiment an indication may be provided by the aerosol generationdevice when communicative interaction is established with the connectioninterface or during the communicative interaction. The indication may beone or more of: visual, using a light or other indicator; audible;haptic; or other like indication.

In an embodiment the aforementioned icon displayed on the electronicuser device (or other element) is or becomes user selectable when aconnection is established. Selection of said icon may trigger theindication by the aerosol generation device. In this way a user mayfirstly coarsely locate the aerosol generation device by moving to thestored position. Subsequently, the user may trigger the indication bythe aerosol generation device to more precisely locate said device. Anindication, which may be audible and/or haptic, may be provided by theaerosol generation device, which has a property that is dependent on theseparation distance between the aerosol generation device and theelectronic user device. The separation distance may be determined basedon the strength of the wireless signal received at the connectioninterface or the aerosol generation device, as appropriate, e.g. byreceived signal strength indication (RSSI indicator). The indication mayassist a user in locating the aerosol generation device. In one example,an audible indication may have a frequency that depends on theseparation distance, and the frequency may be higher when the separationdistance is small. The frequency may refer to the pitch of theindication or the rate of repetition of the indication. The audibleindication may be provided by a vibration of the aerosol generationdevice.

Typically the indication is provided on a display of the electronic userdevice. The indication may include a determined numerical distance tothe aerosol generating device and/or an icon that changes colour (e.g.from blue to red) based on proximity. An advantage is that theindication of the electronic user device may be used if the indicationof the aerosol generating device is obscured.

Preferably the indication provided by the aerosol generation device canbe inhibited by a user. The indication can be inhibited either using theaerosol generation device or the electronic user device. On the aerosolgeneration device a button may be activated to indicate that it has beenlocated, and to inhibit the indication. A similar button may be providedon the display of the electronic user device.

Preferably the indication provided by the aerosol generation device isinhibited during use of the aerosol generation device. Thus, theindication can be inhibited during vaping. This may be detected bydepression of a vaping button, or activation of an air pressure sensor.

In one arrangement the electronic user device may be configured toprovide a beaconing signal using the connection interface, and theaerosol generation device may be configured to provide an indicationwhen the beaconing signal is received. In one arrangement the beaconingsignal can be initiated by a user selecting an icon associated with theaerosol generating device on the display screen of the user device. Forexample, the user may be able to select an icon associated with theaerosol generating device, as displayed on a map. On receipt of thebeaconing signal the aerosol generating device is adapted to provide theindication. For example, the aerosol generating device can vibrate sothat it can be easily located by a user.

According to another aspect of the invention there is provided a methodcomprising the steps of: determining a position of the electronic userdevice; providing a communicative interaction between the electronicuser device and an aerosol generation device via a communicationinterface in the electronic user device; and storing the positiondetermined by the positioning module in a data storage module, whereinthe stored position is associated with the communicative interactionwith the aerosol generation device. The method may implement any featureof the preceding aspects.

According to yet another aspect of the invention there is provided anon-transitory computer readable medium comprising instructions which,when executed by at least one processor, cause the at least oneprocessor to perform steps comprising: determining a position of theelectronic user device; providing a communicative interaction betweenthe electronic user device and an aerosol generation device via acommunication interface in the electronic user device; and storing theposition determined by the positioning module in a data storage module,wherein the stored position is associated with the communicativeinteraction with the aerosol generation device.

According to another aspect of the invention there is provided a methodof displaying a position associated with an aerosol generation device ona user interface of an electronic user device, the method comprising:retrieving a position determined by a positioning module from a datastorage module, wherein the stored position is associated with acommunicative interaction with the aerosol generation device; andgenerating instructions to display said position on a user interface.

Preferably the method involves receiving instructions from a userinterface to locate an aerosol generation device. Preferably the methodinvolves establishing a connection between the electronic user deviceand the aerosol generation device and providing an indication on theaerosol generation device. Preferably the method involves receivinginstructions from a user interface to provide the indication on theaerosol generation device.

According to another aspect of the invention there is provided a methodof locating an aerosol generation device, the method comprising:establishing a connection between an electronic user device and theaerosol generation device; receiving instructions from a user interfaceto locate the aerosol generation device; and providing an indication onthe aerosol generation device and/or electronic user device to aid auser in locating said aerosol generation device. Preferably theindication has a property based on a distance between the electronicuser device and aerosol generation device.

According to another aspect of the invention there is provided a systemfor locating an aerosol generation device, the system comprising: anelectronic user device; and an aerosol generation device; wherein theelectronic user device and aerosol generation device have respectivecommunication interfaces so that they can establish a communicativeinteraction, and wherein, upon establishment of a communicativeinteraction, an indication is provided on the aerosol generation deviceand/or electronic user device to aid a user in locating the aerosolgeneration device.

According to yet another aspect of the invention a system is providedcomprising an electronic user device having a connection interface; andan aerosol generation device; wherein the electronic user device isconfigured to provide a beaconing signal using the connection interface,and the aerosol generation device is configured to provide an audiblealert when the beaconing signal is received.

Features of any one aspect of the invention can be provided with anyother aspect of the invention.

Embodiments of the invention are now described, by way of example, withreference to the drawings, in which:

FIG. 1 is a schematic view of a smartphone in communication with anelectronic cigarette, in an embodiment of the present invention;

FIG. 2 is a flow diagram showing a sequence of steps that can beundertaken in an embodiment of the present invention;

FIG. 3 is another flow diagram showing a sequence of steps that can beundertaken in an embodiment of the present invention;

FIG. 4 is another flow diagram showing a sequence of steps that can beundertaken in an embodiment of the present invention;

FIG. 5 is a schematic view of a system in an embodiment of the presentinvention;

FIG. 6 is another schematic view of a system in an embodiment of thepresent invention; and

FIG. 7 is another schematic view of a smartphone in communication with anetwork and an electronic cigarette, in an embodiment of the presentinvention.

Before describing several embodiments of the system, it is to beunderstood that the system is not limited to the details of constructionor process steps set forth in the following description. It will beapparent to those skilled in the art having the benefit of the presentdisclosure that the system is capable of other embodiments and of beingpracticed or being carried out in various ways. As used herein, the term“aerosol generation device” or “electronic cigarette” may includesmoking apparatus to deliver an aerosol to a user, including an aerosolfor smoking. An aerosol for smoking may refer to an aerosol withparticle sizes of 0.5-7 microns. The particle size may be less than 10or 7 microns. The apparatus may be portable. Portable may refer to theapparatus being for use when held by a user.

As used herein, the term “processor” or “processing resource” may referto one or more units for processing including as an ASIC,microcontroller, FPGA, microprocessor, digital signal processor (DSP)capability, state machine or other suitable component. A processor mayinclude a computer program, as machine readable instructions stored on amemory and/or programmable logic.

FIG. 1 is a schematic view of a smartphone 2 and an electronic cigarette4. The electronic cigarette 4, which is an aerosol generation device,comprises a battery 6 and a reservoir 8 for storing vaporisable liquid.The vaporisable liquid in the reservoir 8 can be supplied to an atomiser10, powered by the battery 6. Air inlets 12 are provided in the body ofthe electronic cigarette, and an airflow can be generated by a userinhaling via a mouthpiece 14. The airflow can draw air into the airinlets 12 and past the atomiser 10 so that the user can inhale air whichincludes vaporised liquid from the reservoir 8.

Alternative aerosol generation devices may be provided that are notbased on vaporisable liquid. In one example, an aerosol generationdevice can be supplied with capsules containing conventional tobacco.These capsules can be heated, without burning the tobacco, to releasevapours that can be carried away from the capsule in an airflow.

The electronic cigarette 4 comprises a Bluetooth® transmitter 16, whichcan be used to establish a communicative interaction with acorresponding Bluetooth transmitter 24 in the smartphone 2. Theelectronic cigarette 4 also comprises an indicator light 18 and a motor20 which can be used to generate a vibration. The indicator light 18 andthe motor 20 are electrically coupled to the battery 6.

The smartphone 2 comprises an antenna 24 which can be used for wirelesscommunication with the electronic cigarette 4. The smartphone alsocomprises electronics for wireless communication based on cellulartechnology and Wi-Fi.

The smartphone 2 comprises a GPS receiver 26 that can monitor geographicposition. GPS signals are typically only available in outdoorenvironment, and the smartphone is adapted to determine a position usingalternative techniques when GPS signals are not available. A fewexamples of alternative techniques include Wi-Fi positioning, deadreckoning and cellular positioning. A data storage unit 28 is alsoprovided in the smartphone 2.

The smartphone 2 is communicatively connected to a network 30, such as acellular network or the internet. A server 32 is connected to thenetwork 30 and arranged for communication with the smartphone 2. In someembodiments the smartphone 2 may communicate with the server 32 in orderto store data. This may occur when there is no storage available on thesmartphone 2. Thus, the function of the data storage unit 28 may beperformed by the server 32 in some embodiments.

FIG. 2 is a flow diagram showing steps that can be undertaken in anembodiment of the invention. At step 50 the smartphone 2 and theelectronic cigarette 4 search for a connection with one another. At step52 a connection is established when the two devices are in the samelocation using, in this example, Bluetooth® protocol.

Indications can be inhibited for the smartphone 2 or the electroniccigarette 4 by selection of an appropriate button by the user.Indications can also be inhibited during a specified use of the devices.For example, indications can be inhibited while the electronic cigarette4 is being used for vaping as may be detected by depression of a vapingbutton, or activation of an air pressure sensor. Therefore, at step 54the smartphone 2 establishes whether indications are enabled for thesmartphone 2 and the electronic cigarette 4.

At step 56, an indication is provided on the smartphone 2 and/or theelectronic cigarette 4 to indicate that a successful Bluetooth®connection has been established. In one example, this is accomplished byturning on the indicator light 18 on the electronic cigarette 4, and byproviding a vibration in the smartphone 2.

At step 58 the smartphone 2 determines whether data are received in thecommunicative interaction that would prompt the smartphone 2 to store ageographic position. In one example the smartphone 2 is adapted to storea geographic position, as determined by the GPS receiver 26, whenever asuccessful connection has been established. In this way, the smartphone2 can maintain a log corresponding to position at different times that aconnection is established. In another example, the smartphone 2 isadapted to store a position only on receipt of a particular type ofdata, or a particular pattern of data from the electronic cigarette 4.For example, the electronic cigarette 4 may be adapted to communicate tothe smartphone 2 that a vaping button has been depressed. The electroniccigarette 4 may also be adapted to communicate data regarding a vapingepisode including data indicative of the start or end of a user'sinhalation. The smartphone 2 is adapted to store a geographic positiononly upon detection of depression of the vaping button, or upondetection of a vaping episode. In some embodiments these may correspondto trigger events.

At step 60 the smartphone 2 is adapted to determine whether a triggerevent has occurred. In addition to the examples above, a trigger eventmay correspond to the establishment of a communicative interaction withthe electronic cigarette 4. In another embodiment the trigger event maycorrespond to the termination of a communicative interaction with theelectronic cigarette 4.

At step 62 the smartphone 2 is adapted to determine a geographicposition using the GPS receiver 26. At step 64 the geographic positionis stored in data storage 28 in the smartphone 2 or in the server 32, asappropriate. The geographic position is stored along with informationthat can identify the electronic cigarette 4, such its serial number,batch number or MAC address. Geographic positions may be stored in thedata storage unit 28 for several different electronic cigarettes 4.

In use, a user can ‘connect’ their electronic cigarette 4 to theirsmartphone 2 in order to exchange data. In this way, the user canmonitor the performance of the electronic cigarette 4 using theirsmartphone and can connect these data to any of a wide variety ofinternet applications. The smartphone 2 is adapted to store a geographicposition in the data storage unit 28 on each occasion that acommunicative interaction is established. Thus, the smartphone 2 canmaintain a log corresponding to position at different times.

FIG. 3 is a flow chart showing a sequence of steps that can beundertaken when it is desired to display a stored position on a map. Atstep 70 the smartphone 2 receives instructions to locate a particularelectronic cigarette 4. This may be achieved by the user selecting anicon on the display screen 22 that indicates the device type or ID forthe desired electronic cigarette. Often a user will have more than oneelectronic cigarette so this can allow the user to select the desireddevice. At step 72 the smartphone 2 is adapted to retrieve a storedposition for the selected electronic cigarette from the data storageunit 28. In particular, the smartphone 2 can retrieve the most recentstored position for the selected electronic cigarette 4, even if noconnection is present between the smartphone 2 and the electroniccigarette 4. At step 74 the smartphone 2 can display the most recentstored position on a map on the display screen 22. At step 76 thesmartphone 2 can display an indicator at a position on the mapcorresponding to the position retrieved from the data storage unit 26.In the example of FIG. 1 the display screen 22 shows a map including thecurrent position of the smartphone 25 and an icon 27 that is indicativeof the last known geographic position 27 of the electronic cigarette 4.In this way, the user can be assisted in locating the electroniccigarette 4, if it has been misplaced.

The icon 27 is displayed on the map in a first colour when no connectionis present between the smartphone 2 and the electronic cigarette 4. Theicon 27 is displayed in a second colour when a connection isestablished.

The smartphone 2 can also be used to provide a beaconing signal to theelectronic cigarette 4 when a connection is established between the twodevices. FIG. 4 is a flow chart showing a sequence of steps that can beundertaken in a beaconing operation. At step 100 the user can indicatethat they wish to send a beaconing signal to the electronic cigarette 4.In this example, this is achieved by the user selecting the icon 27 forthe electronic cigarette 4 displayed on the map. At step 102 thesmartphone 2 is configured to determine an estimated physical separationto the electronic cigarette 4. This can be achieved in different ways,depending on the method used to establish a communicative interaction.If a cable is used then the estimated separation may correspond to thenormal length of the cable. If Bluetooth® is used then the estimatedseparation may be inversely proportional to the signal strength receivedat the smartphone 2. At step 104 the smartphone 2 is configured totransmit a beaconing signal to the electronic cigarette 4. The beaconingsignal is received at the electronic cigarette 4 and, in response, atstep 105 the electronic cigarette 4 can issue an audible alert. In thisexample the motor 20 in the electronic cigarette 4 is used to generate avibration. Properties of the vibration generated by the motor 20 areproportional to the estimation of the separation distance calculated atstep 102. In one arrangement the period between a series of vibrationscan be selected according to the estimated separation distance. Thevibrations are preferably loud enough to be heard by the user so thatthey can easily locate the electronic cigarette 4. The vibration can becancelled by the smartphone 2 or the electronic cigarette 4 by pressinga button or a selectable item on the display screen 22.

FIG. 5 is an exemplary embodiment of a system according to the presentinvention including a smartphone 2 within a system 200 based on twoparts: a frontend system 202 and a backend system 204. The frontendsystem 202 includes the smartphone 2, where a mobile application isprovided in the smartphone 2. The mobile application allows a user toprovide registration, age verification and login details, input data ormake user requests, such as online purchases or store locator queries,to the backend system 204. The mobile application is adapted to store inthe smartphone data storage 28, or send to the network 30, geographicpositions of one or more electronic cigarettes 4, where a user can usethe mobile application to locate a particular electronic cigarette. Thegeographic position is based on the latitude and longitude of anelectronic cigarette after a trigger event has occurred and the time andlocation details are provided to the data storage or network. A user mayalso provide information to the backend system 204 via an internetapplication, or web app.

The backend system 204 receives user information, user requests andspecific electronic cigarette information from the frontend system 202at an App service 206. The backend system 204 includes:

-   -   Administration tool 208 and Administration Web App 210: these        components are the administrative part of the backend system        204. Roles, permissions, user management system configuration        and administrative activities on certain system functions are        handled, and the Admin Web App 210 makes calls to an active        directory 212 for a single sign on user authentication        mechanism.    -   Active directory 212: this component performs user or client        verification in actions including: registration, login, buy        online and store locator. The active directory 212 is used to        tenant the administration web app 210 and an API (application        program interfaces) app 214, based on a cloud directory and        identity management service. Active directory 212 combines core        directory services, advanced identity governance and application        access management.    -   API App 214: The API App contains all the APIs exposed by the        backend system 204 and the calls to E-commerce API 216. The        E-commerce API 216 receives data for electronic commerce        actions, such as registration, login, buy online and store        locator. Users or clients accessing the backend system 204        through API App 214. To authorise access in the API App 214, the        mobile application requires an access token from active        directory 212.    -   Transactional database 218: the transactional database may be,        for instance, a structured query language, SQL, database or        similar type of database in which Administration Web App 210 and        API App 214 reads and writes data to. The transactional database        contains information from the whole backend system. A project or        an SQL project is created for each part of the database        containing all necessary scripts: for creating tables, functions        and stored procedures. The transactional database is split in        three schemas: the administration schema, the application        schema, and the security schema.    -   Anonymized database 220: this component, which may be based on        SQL, contains only statistical information, without any        information about a user. Data is copied without any information        about the user from Transactional database 218, the process        being done by WebJobs component 222. Data anonymization is a        type of information sanitization whose scope is to protect        privacy. Anonymized database 220 contains a certain set of        anonymized data related to vaping activities and will be        available for reporting purposes. Personal identifiable        information from data set will be removed so that the people        whom the data describe remain anonymous. There are no references        to users in the anonymized data set.    -   WebJobs component 222: this component contains two web jobs,        containing C # codes. One WebJob is used to copy data from        transactional database 218 to anonymized database 220. The other        WebJob is implemented for data purge from transactional database        218 every six months or other predetermined period of time.

The backend system 204 is structured into different layers where eachlayer has its own role to help the communication between the frontendsystem 202 and the backend system 204. This approach exposes some of thecore functionality as services for user or client applications (e.g.using Android and iOS) to consume, which helps to minimise the impact ofadding new APIs or new business logic to the overall system. The layersseparate database logic, business logic, application program interfaces(API) and administration tools in provided services to a user mobileapplication.

FIG. 6 shows a representation of a layered application that may beimplemented in the backend system 204 (shown in FIG. 5) according to anembodiment of the present invention. Each layer helps the communicationof the user or client with the databases and the APIs.

The layers are described in more detail below:

-   -   WebApp layer 302: The WebApp layer 302 (or presentation layer)        is a web application developed which implements a presentation        layer for administration. This application maintains a session,        being scalable, also maintains the E-commerce API and mobile        clients, iOS and Android, and the calls between backend        application and clients.    -   API layer 304: This layer is a separate project built to manage        the APIs, a stateless application to realize the calls between        E-commerce API and mobile clients, iOS and Android, and the        calls between backend application and clients. This layer will        send and receive data from the domain logic layer. The API layer        304 contains the routes to the backend, the methods to        communicate with the domain logic layer 306, using the domain        logic models, and API versioning.    -   Domain logic layer 306: The domain logic layer 306 is built to        separate the business logic from the rest of the backend        application. This layer uses a generic repository, domain logic        models and dependency injection. The domain logic layer includes        a business layer 308 and a data model layer 310.    -   Data access layer 312: The data access layer 312 has the role to        get the data from a database, creating the models for the tables        from database. This layer helps the backend application to        communicate with the database, using an Entity framework, data        access layer models (code first/database first) and the database        context.    -   Database layer 314: The database layer 314 is split in two        different layers: the transactional database layer 316 and the        anonymized database layer 318. Both are Projects that can be        based on SQL and are developed for creating the tables, the        functions and the stored procedures needed to receive data from        a database. The anonymized database layer 318 is created to        store different statistics, for example: the number of puffs,        how often the cigarette is used, but without storing personal        data about the user in this table. The transactional database        layer 316, has the role to create the tables, the functions and        the stored procedures to store data about the administration,        such as: actions, firmware version, localization version, and        about the applications, such as: about the capsule, the device,        the user and also about vaping activity of the user.

FIG. 7 shows a schematic representation of the communication between thenetwork 30 via server 32, smartphone 2, and a plurality of electroniccigarette devices according to an embodiment of the invention. Thesmartphone 2 and any connected electronic cigarette devices may belocated in the frontend system 202 (shown in FIG. 5), and the network 30allows for communication between the front end system 202 and thebackend system 204 (shown in FIG. 5). The network 30 can perform a scanof electronic cigarette devices for communication with the network. Acommand is sent to a mobile application on the smartphone 2 which thenscans for all the available cigarette devices 4A, 4B, 4C available to auser. Electronic cigarette devices 4A, 4B, 4C are connected to thesmartphone 2 via Bluetooth®. The mobile application displays a list ofthe available devices for the user to select a device from the list, andthe application sends information relating to the selected device to thenetwork 30.

After a connection is established the network 30 can communicate with anelectronic cigarette device 4B through the mobile application in asmartphone 2. The mobile application can read or write data from/to thecigarette device 4B, and the network can notify the mobile applicationwhen a change has occurred, e.g. when a capsule requireschanging/replacing or battery power in the device is low.

Additional functions, or services, are as follows:

-   -   Authentication: This step is required to get a device's        information: device id, device mac address, capsule information        and to communicate with the device. The process is done using        characteristics for reading, writing and notifying.    -   Capsule info: This service is used to read capsule information:        puffs left, nicotine left, etc. The PWA app can read capsule        info and can be notified by an electronic cigarette device when        the capsule is changed.    -   Device info: This service is used to read information about the        device using a read characteristic.    -   Device settings: This service is used to change device settings        (sleep time, max puff duration) and also to use functionalities        like: find device, reboot device, reset device using the write        characteristics.    -   Event info: This service is used to receive notifications from        device to the network when a malfunction has occurred (software        over temperature, dry vape, hardware over temperature)    -   Over the air: This service is used to update, from the network,        the firmware of the electronic cigarette device based on write        and notify characteristics.    -   Vaping: This service is used to get information when user is        vaping. So, the network is notified when user is smoking,        getting the duration, the temperature, info about the liquid,        using the notify and write functions/characteristics.

If an internet connection is lost, communication between the mobileapplication and the device 4B can work in the same way, and informationabout the device 4B is saved in a data storage of the smartphone 2.Local storage is a read-only property that allows the mobile applicationto access the data storage 28 in the smartphone 2 from mobileapplication. Web storage is per origin (per domain and protocol). Unlikecookies and session storage, local storage does not have an expirationdate (data can be stored until removed). As an example, if the puffs orevents could not be sent because of no internet connection, theinformation or data are saved in the smartphone data storage which thenare sent to the network or backend system when internet connection isestablished. The same approach is done for device information (id, macaddress, serial code, name, Bluetooth® version, temperature, capsuleinformation), saving temporary values that should be sent to the backendsystem later.

The invention claimed is:
 1. A system comprising: a positioning modulearranged on a user electronic device; a communication interface toprovide a communicative interaction with an aerosol generation device;and a data storage module, wherein the data storage module is configuredto store a position determined by the positioning module, and whereinthe stored position is associated with the communicative interactionwith the aerosol generation device, and wherein the position is storedbased on a trigger comprising one or more of the following: uponestablishing the communicative interaction with the aerosol generationdevice, transitioning of the aerosol generation device into an inactivemode, or following termination of the communicative interaction with theaerosol generation device.
 2. The system of claim 1, wherein the storedposition is associated with a most recent communicative interaction withthe aerosol generation device.
 3. The system of claim 1, furthercomprising a display to indicate the stored position.
 4. The system ofclaim 1, wherein an indication is provided when communicativeinteraction is established with the aerosol generation device.
 5. Thesystem of claim 4, wherein the indication is one or more of: visual,audible, and haptic.
 6. The system of claim 4, wherein the userelectronic device is adapted to provide a selectable button which, whenselected, causes the communication interface to send an instruction tothe aerosol generation device to provide an audible and/or hapticindication.
 7. The system of claim 4, wherein the indication has aproperty that is dependent on a separation distance between the aerosolgeneration device and the user electronic device.
 8. The system of claim1, wherein the data storage module is configured to store a positiondetermined by the positioning module based on data received from theaerosol generation device in the communicative interaction.
 9. Thesystem of claim 1, further comprising an aerosol generation deviceincluding a communication interface.
 10. The system of claim 9, whereinan indication is provided by the aerosol generation device when or whilecommunicative interaction is established with the communicationinterface.
 11. The system of claim 9, further comprising a capsule foruse with the aerosol generation device to deliver an aerosol to a user,the capsule containing tobacco or a vaporisable liquid.
 12. The systemof claim 10, wherein the indication is one or more of: visual, audible,and haptic.
 13. The system of claim 10, wherein the indication has aproperty that is dependent on a separation distance between the aerosolgeneration device and the user electronic device.
 14. The system ofclaim 1, wherein the position associated with the aerosol generationdevice is stored along with identifying information of the aerosolgeneration device.
 15. The system of claim 1, wherein the communicationinterface is configured to establish the communicative interaction withthe aerosol generation device using a wireless protocol.
 16. A methodcomprising the steps of: determining a position of a user electronicdevice by a positioning module arranged on the user electronic device;providing a communicative interaction between the user electronic deviceand an aerosol generation device via a communication interface in theuser electronic device; and storing the position determined by thepositioning module in a data storage module, wherein the stored positionis associated with the communicative interaction with the aerosolgeneration device, and wherein the position is stored based on a triggercomprising one or more of the following: upon establishing thecommunicative interaction with the aerosol generation device,transitioning of the aerosol generation device into an inactive mode, orfollowing termination of the communicative interaction with the aerosolgeneration device.
 17. A non-transitory computer readable mediumcomprising instructions which, when executed by at least one processor,cause the at least one processor to perform steps comprising:determining a position of a user electronic device by a positioningmodule arranged on the user electronic device; providing a communicativeinteraction between the user electronic device and an aerosol generationdevice via a communication interface in the user electronic device; andstoring the position determined by the positioning module in a datastorage module, wherein the stored position is associated with thecommunicative interaction with the aerosol generation device, whereinthe position is stored based on a trigger comprising one or more of thefollowing: upon establishing the communicative interaction with theaerosol generation device, transitioning of the aerosol generationdevice into an inactive mode, or following termination of thecommunicative interaction with the aerosol generation device.